package com.parking.mgr.useraccount.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.parking.mgr.common.pojo.base.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName BasicRoleAssignEntity
 * @Description 角色可以分配的角色对象
 * @Auther: shilintao
 * @Date 2023/5/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_basic_role_assign")
public class BasicRoleAssignEntity extends BaseEntity {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID, value = "pk_id")
    private String id;

    /**
     * 所属角色
     */
    private String fkBasicRoleId;

    /**
     * 所属可分配角色
     */
    private String fkRoleAssignId;

    @Override
    public String toString() {
        return "BasicRoleAssignEntity{" +
                "pkId='" + id + '\'' +
                '}';
    }
}
